﻿<%@ Page Language="C#" MasterPageFile="~/Themes/Default/Views/Shared/Site.Master"  Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="AFDS.BusinessLogic" %>
<%@ Import Namespace="AFDS.Core" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<% Html.RenderPartial("AFDSSubMenu");%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">    
<% var settings = (ViewData["Settings"] as Hashtable); %>
<fieldset class="MvcMembership">
<% Html.BeginForm("EditSettings", "AFDSAdmin"); %>
	<legend><h1><%=ViewData["Title"] %></h1></legend><br />
	<table width="100%" cellspacing=2>
	    <tr>
	        <td>Directory Name:</td><td><input id="DirectoryName" title="edit" name="DirectoryName" value="<%=settings["DirectoryName"]%>" disabled /></td>
	    </tr>
	    <tr>
	        <td>Storage:</td><td><input id="Storage" title="edit" name="Storage" value="<%=settings["Storage"]%>" disabled /></td>
	    </tr>
	    <tr>
	        <td>Theme:</td><td><input id="Theme" title="edit" name="Theme" value="<%=settings["Theme"]%>" disabled /></td>
	    </tr>
	    <tr>
	        <td>Root Category:</td><td>	        
               <%=Html.DropDownList("Rootcategory", (MultiSelectList)ViewData["cbCategories"])%>  	        
	        </td>
	        <td>
	            <input id="btn" name="btn" type="submit" title="Edit" onclick="box(); return false;" value="Edit" /> 	            
	        </td>
	    </tr>    	    	    	    
	</table>	
</fieldset>
<% Html.EndForm(); %>
</asp:Content>

